package com.cheli.managerAsset.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Classname AssetDepVo
 * @Description 资产折旧返回Vo
 * @Date 2021/4/11 17:09
 * @Created by cl
 */
@Data
public class AssetDepVo implements Serializable {

    private static final long serialVersionUID = 8721168962874727083L;
    private String id;
    private String title;
    private String month;
    private String depPrice;
    private String exLastPrice;
    private String lastPrice;
    private String exEndTime;
    private String endTime;

    @ApiModelProperty(value = "折旧列表")
    private List<String> priceList;


    @ApiModelProperty(value = "残值率")
    private Integer netSalvage;

    @ApiModelProperty(value = "使用年限")
    private Integer year;

    @ApiModelProperty(value = "原值")
    private BigDecimal price;

    @ApiModelProperty(value = "折旧计算方法")
    private Integer method;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;
}
